package com.zynn.service.module.calculate.bo;

import lombok.Data;

import java.io.Serializable;

/**
 * @author 刘天元
 * @description 带权重的一度好友
 * @create 2018-08-03 11:18
 *
 * @author 李琦
 * 备注:增加用户 辅助信息 学校，学院，年级，性别
 * @date 2018-11-19
 **/
@Data
public class DegOneFrientWithWeight implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 好友标识
     */
    private Long userId;

    /**
     * 权重
     */
    private int weight;

    /** 学校ID */
    private Long schoolId;

    /** 学院ID */
    private Long departmentId;

    /** 年级ID */
    private Integer gradeId;

    /** 用户性别 0/1*/
    private int sex;


    private DegOneFrientWithWeight(){}

    public DegOneFrientWithWeight(Long userId, int weight){
        this.userId = userId;
        this.weight = weight;
    }

    public DegOneFrientWithWeight(Long userId, int weight, Long schoolId, Long departmentId, Integer gradeId, int sex) {
        this.userId = userId;
        this.weight = weight;
        this.schoolId = schoolId;
        this.departmentId = departmentId;
        this.gradeId = gradeId;
        this.sex = sex;
    }
}
